alert('±×¸²¼±ÅÃÀ» Çϼ¼¿ä.'); history.go(-1); "; exit; } #########################[[±×¸²1]]############################ if($up_file1_name) { $pic1 = explode(".",$up_file1_name); $filechk1=strtolower($pic1[1]); if($filechk1 == 'gif') { $creat_pic1=$no."-new1.gif"; $creat_pic1_1=$no."-new1.jpg"; } else { $creat_pic1=$no."-new1.jpg"; $creat_pic1_1=$no."-new1.gif"; } if($filechk1!=gif && $filechk1!=jpg) { echo""; exit; } if ($up_file1_size > 200000) { echo""; exit; } $same_file_exist=file_exists("./$forder/$creat_pic1"); if($same_file_exist){ echo""; } if(!copy($up_file1,"./$forder/$creat_pic1")){ error("FILE_UPLOAD_FAILED"); exit; } $same_file_exist_1=file_exists("./$forder/$creat_pic1_1"); if($same_file_exist_1){ echo""; if(!unlink("./$forder/$creat_pic1_1")) { echo""; } } } #########################[[±×¸²2]]############################ if($up_file2_name) { $pic2 = explode(".",$up_file2_name); $filechk2=strtolower($pic2[1]); if($filechk2 == 'gif') { $creat_pic2=$no."-new2.gif"; $creat_pic2_1=$no."-new2.jpg"; } else { $creat_pic2=$no."-new2.jpg"; $creat_pic2_1=$no."-new2.gif"; } if($filechk2!=gif && $filechk2!=jpg) { echo""; exit; } if ($up_file2_size > 200000) { echo""; exit; } $same_file2_exist=file_exists("./$forder/$creat_pic2"); if($same_file2_exist){ echo""; } if(!copy($up_file2,"./$forder/$creat_pic2")){ error("FILE_UPLOAD_FAILED"); exit; } $same_file_exist_2=file_exists("./$forder/$creat_pic2_1"); if($same_file_exist_2){ echo""; if(!unlink("./$forder/$creat_pic2_1")) { echo""; } } } #########################[[±×¸²3]]############################ if($up_file3_name) { $pic3 = explode(".",$up_file3_name); $filechk3=strtolower($pic3[1]); if($filechk3 == 'gif') { $creat_pic3=$no."-new3.gif"; $creat_pic3_1=$no."-new3.jpg"; } else { $creat_pic3=$no."-new3.jpg"; $creat_pic3_1=$no."-new3.gif"; } if($filechk3!=gif && $filechk3!=jpg) { echo""; exit; } if ($up_file3_size > 200000) { echo""; exit; } $same_file3_exist=file_exists("./$forder/$creat_pic3"); if($same_file3_exist){ echo""; } if(!copy($up_file3,"./$forder/$creat_pic3")){ error("FILE_UPLOAD_FAILED"); exit; } $same_file_exist_3=file_exists("./$forder/$creat_pic3_1"); if($same_file_exist_3){ echo""; if(!unlink("./$forder/$creat_pic3_1")) { echo""; } } } echo(" "); } ############################################################################################## echo("
À̹ÌÁö1:

À̹ÌÁö2:

À̹ÌÁö3:

"); ?>